package com.design.behavioral.visitor;

public class Dog extends Animal{
    @Override
    public void execute(){
        System.out.println("Dog");
    }

    @Override
    public void execute(Execute execute){
        execute.execute(this);
    }
}
